<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{include file=$theme|theme:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"const_header.tpl" title=""}
</head>
<body>
<div class="main">
  <div class="header">
    <p class="top">{dispatcher->handleEvent v="Session_Sign"}<img src="{$smarty.const.HTTP_URL|cssfiles:$smarty.server.HTTP_HOST:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"top_str.gif"}" width="16" height="12" alt="Login" /></p>
    <div class="logo"><a href="index.html"><img src="{$smarty.const.HTTP_URL|cssfiles:$smarty.server.HTTP_HOST:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"logo.gif"}" width="65" height="55" border="0" alt="Logo" /></a></div>
    <div class="menu">
	      {dispatcher->handleEvent _handle="Panel_Navig,index,0;top}
    </div>
    <div class="clr"></div>
    <div class="title_block">
      <div class="right_title_name"><h2>{$viewp.page_name}</h2></div>
      <div class="right_title_opis">
      	{if isset($section1)}{$section1}{/if}
      </div>      
    </div>
    <div class="clr"></div>
  </div>
  <div class="body">
    <div class="resize">
      <div class="panel">
        <div>
          <div>
            <h1>{$viewp.description|truncate:100}</h1>
          </div>
        </div>
      </div>
      <div class="box">
        <div class="bottom">
          <div class="top">
            <div class="content"> 			
			{if isset($section2)}<div class="section">{$section2}</div>{/if}
			{if isset($section3)}<div class="section">{$section3}</div>{/if}
			{if isset($section4)}<div class="section">{$section4}</div>{/if}
			{if isset($section5)}<div class="section">{$section5}</div>{/if}
			<div class="clr"></div>
            </div>
          </div>
        </div>
      </div>
      <div class="clr"></div>
    </div>
  </div>
  
  <div class="second_body">
    <div class="resize">
      <div class="content">
        <div class="left">
        
        </div>
        <div class="right">
 
        </div>
        <div class="clr"></div>
      </div>
    </div>
  </div>
  {include file=$theme|theme:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"const_fotter.tpl" title=""}

</div>

<!--panel-->
{dispatcher->handleEvent v="Analytics,show"}
<!--/panel-->
</body>
</html>